package com.jasonkurtzman.adv;
import javax.swing.JFrame;

import com.jasonkurtzman.adv.Level.Level;

public class GameWindow 
{
	static GamePanel panel = new GamePanel();
	
	public static void tickGame()
	{
		
	}
	
	public static void main(String[] args)
	{
		JFrame frame = new JFrame("New Adventure Game");
		frame.setSize(800, 622);
		frame.setResizable(false);
		frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		frame.setLocationRelativeTo(null);
		frame.setVisible(true);
		
		frame.addKeyListener(GamePanel.input);
		
		System.out.println("Height: " + panel.getHeight());
		
		frame.add(panel);
		panel.tick();
	}
}
